package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.DelayReasonsDao;
import com.site.wisdom_construction.entity.publicModule.DelayReasons;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/16
 * @Description
 */
@Service
public class DelayReasonsService implements DelayReasonsDao {
    @Autowired
    private DelayReasonsDao delayReasonsDao;

    @Override
    public int insertDelayReasons(Map map) {
        return delayReasonsDao.insertDelayReasons(map);
    }

    @Override
    public int deleteDelayReasons(Map map) {
        return delayReasonsDao.deleteDelayReasons(map);
    }

    @Override
    public int updateDelayReasons(Map map) {
        return delayReasonsDao.updateDelayReasons(map);
    }

    @Override
    public List<DelayReasons> findDelayReasonsByPage(Map map) {
        return delayReasonsDao.findDelayReasonsByPage(map);
    }

    @Override
    public long Total(Map map) {
        return delayReasonsDao.Total(map);
    }

    @Override
    public List<DelayReasons> selectDelayReasons(Map map) {
        return delayReasonsDao.selectDelayReasons(map);
    }

    @Override
    public List<DelayReasons> findDelayReasonsByName(Map map) {
        return delayReasonsDao.findDelayReasonsByName(map);
    }

}
